//
//  PlistTool.h
//  OnionHome
//
//  Created by fengjie on 2019/10/11.
//  Copyright © 2019 FengJie. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface PlistTool : NSObject

/**往plist文件中存储数据 */
+(void)savePlistValue:(NSDictionary *)valueDic Type:(ReleseType)type;
/**根据key 获取plist 文件中缓存的数据*/
+(NSMutableArray *)getPlistType:(ReleseType)type;
/**异步往plist文件中存储数据成功后回调到主线程 */
+(void)savePlistValue:(NSMutableDictionary *)valueDic Type:(ReleseType)type Images:(NSMutableArray *)images successful:(void(^)(NSString * message))success_block;
@end

NS_ASSUME_NONNULL_END
